Fix detection of degenerate segments.

- Changed to epsilon-equal for testing whether a_left == b_left in
  degenerate segment checking.