The Supreme Court lifted an injunction that had protected immigrants from removal to dangerous countries where they could face torture and death.