Improved handling of vertices that could break d3.geom.hull.