what is the role of a legal opinion in mergers and acquisitions