A federal judge has blocked the Trump administration's bid to cancel deportation protections and work permits for more than 63,000 Nicaraguan, Honduran and Nepali immigrants, saying the decision by Homeland Security Secretary Kristi Noem appeared rooted in racism.