Large law firms are increasingly abandoning President Donald Trump, reflecting fears that ties to the polarizing president may have long-term damage on their brand, recruiting and retention.