Even Trump's unprecedented courtroom appearance couldn't shield his executive order from skeptical questioning by justices.