Supreme Court reinstates parts of the travel ban