Correct a bug that happened in ransac if two of the input points are equal