For Google's self-driving cars, learning to deal with the bizarre is essential