The switch came after the Justice Department told a federal appeals court it would drop its battle over executive orders involving law firms.