Fix for bug 961: SACSegmentation crashes when setSamplesMaxDist() and a search object with indices is used

As discussed on the tracker, the point is used for search instead of the point index. This avoids problems when a search object is used that has been constructed using indices.