Two insurers in N.Y. ordered to reinstate policies