The decision delivered a significant win for the Trump administration, clearing the way for officials to resume deportations of migrants to third countries without additional due process.