Trump vows appeal up to Supreme Court after loss on travel ban