Fix assertion failure in snapping code (#649)

The bug affected attempts to snapping lines to the points
of a rectangle with a side smaller than the tolerance.

git-svn-id: http://svn.osgeo.org/geos/branches/3.4@3886 5242fede-7e19-0410-aef8-94bd7d2200fb