Google closed the deal to buy Mandiant for $5.4 billion, or $23 per share.