The Chow motive of a semismall resolution