The Supreme Court ruled on Thursday that the Trump administration can end legal protections for migrants fleeing violence and natural disaster in Haiti and Syria.