Remove self-intersections before supplying polygon data to polyPartition and rename triangulate2() to triangulate_pp()