The judge instructed the head of ICE’s San Francisco field office to attend a December hearing to address concerns and determine ‘whether ICE has been directing its agents to arrest undocumented immigrants without legal justification’