topology.py (loop_subdivider): fix for non-watertight meshes