Supreme Court lets Trump strip legal protections from 500,000 people