US President Donald Trump is enjoying a rare victory after the Supreme Court revived parts of his travel ban on people from six muslim majority countries.