A federal judge in California has halted ICE arrests at immigration courts, challenging a Trump-era policy that sparked nationwide controversy.