Filter duplicate intersections returned by curve.addIntersections

In cases where segments and lines overlap!