Gov. Kathy Hohul in May signed a New York law that barred agreements with ICE that made it easier for the agency to detain immigrants who had been jailed.