Drop consequtive duplicate points.

This threw off our closest node and segment distance calculations.