The move amounts to a surrender in a clash that has led many law firms to submit to the president rather than face the threat of his executive orders.