Fix bug #9686: fix simplification of no-closed polygons

This pull fixes the bug:

http://hub.qgis.org/issues/9686