New York Gov. Andrew Cuomo has signed a bill aimed at preventing federal authorities from carrying out civil arrests without a judicial warrant on immigrants attending proceedings in court.