Compass and Anywhere Real Estate merger passes shareholder vote, with closing set for Friday pending final conditions.