That Gmail outage on Monday—affecting 40% of users for 18 minutes—was the result of a software update gone wrong.