linear: never insert a zero vector to generators

This should fix the assertion failure during simplification
in sparse_vec.h.
Merge pull request #41 from michalt/wip

Never insert a zero vector to generators