Stocks are rising as Brexit progress and a $6.9 billion tech takeover lift the market mood