refactor(library/data/vector): simplify 'vector' using new 'inversion' tactic