The deal will provide a windfall to Microsoft’s traditional advisers and to boutique investment banks on LinkedIn’s side.