The merged firm would have about $3.4 billion in revenue and about 3,900 lawyers, the firms said.