President Donald Trump’s executive orders imposing sanctions on several law firms had been struck down by judges. His administration now plans to abandon its appeals.