Trump administration defends travel ban in court