The Supreme Court has agreed to hear the Trump administration's challenge of rulings blocking his travel ban.