Analysts say Microsoft and Yahoo will close the deal at $31 per share.