A federal judge on Monday ordered Homeland Security not to carry out its new rule limiting how long foreign students and journalists can remain in the U.S., delivering a barrage of withering shots at the Trump administration for the "catastrophic" policy.