FIX DictVectorizer handling of empty inputs

Fixes #2883.