A judge blocks the Trump administration from deporting people to third countries without a chance to argue that relocation may endanger their safety