The US Supreme Court has allowed the Trump administration to end deportation protections for over 350,000 Haitians and 6,100 Syrians living in the United States.