Sundar Pichai found a way to avoid retrenchment