The Supreme Court dismissed a major challenge to President Donald Trump’s travel ban on residents of some Muslim-majority countries.