#9686: fix simplification of no-closed polygons