President Donald Trump's travel ban targeting people from six Muslim-majority countries violates the U.S. Constitution, a federal appeals court ruled.