Fix sketchy index generation in CreateDegenerateTriangleMesh.

This was reported by a kind reader.