#10433: Fix simplification of invalid and empty multipolygons