US district judge Katherine Menendez ordered immigration agents to dial back their aggressive tactics.