The head of Google AI apologizes for the dismissal of the principal investigator as the company announces new diversity policies