Fixed crash caused by certain types of degenerate triangles.
These triangles cause holes now, which is not the final fix for this since it should be possible to trace through most of the degeneracies. It's better than crashing, though.