NBC: Real estate brokerage Compass to buy rival Anywhere in $4.2 billion deal