A directive from the New York City mayor’s office has sparked controversy as the Trump administration ramps up immigration enforcement.