A federal appeals court says the Trump administration acted illegally when it ended legal protections that gave hundreds of ...