McGrigors and Pinsents vote in favour of merger