As Big Law invades secondary markets that have long insulated midsize firms from the competition, regional firms are increasingly joining forces.