Google said it disabled a “majority” of the keywords advertisers could use to target people searching for racist topics.