A judge blocked Trump’s refugee ban, ruling it disrupted Congress’s system, but the administration may appeal as legal battles over the policy continue.