The 6-3 decision overturns lower court orders and allows the Department of Homeland Security to swiftly end temporary protected status, a program that protects a total of 1.3 million people from 17 countries.