Google’s AI chief apologizes for the resignation of the top researcher, while the company announces new diversity policies