[algo,bugfix] Handling of 'degenerate' input

This fixes vertex enumeration for inputs that have parallel
generators. The steps taken are as follows:

(1) aggregate co-directional generators

(2) pair up parallel generators as segments, with 0 as the default second
    endpoint

(3) sign flipping corresponds to swapping out segment endpoints in a
    vertex