New York's Attorney General has obtained a court order against crypto exchange Bitfinex's operator iFinex as well as stablecoin company Tether.