An insidious relationship has developed between the largest private equity firms, the banks that lend them billions to fund buyouts, and the law firms that advise on these deals.