ENH filter out zeros early in FeatureHasher

Fixes #2665.