An order signed by President Trump last month was aimed at stripping collective bargaining rights from hundreds of thousands of federal workers.