Learning explanations that are hard to vary