[flatten] if > 1 starting points, use closest to origin
[flatten] if > 1 starting points, use closest to origin

When merging two or more contours, there could be more than one possible original starting points to be restored. Here we choose the one that is closest to the origin.

moyogo/booleanoperations,typemytype/booleanOperations