The head of Google AI apologizes for the firing of top researcher as the company announces a new diversity policy