Simplifying polygon

Trying to split polygon that have weak duplicate point to two simple polygons. Here we use SimplifyPolygon(InputPolygon, ClipperLib.PolyFillType.pftNonZero);

InputPolygon:

OutputPolygon:

Errors: