Avoid crash on zero-length normals.
Simplification.  If the normal is zero, then the cross product will also be
zero, so we can just have the one check and postpone normalization until
afterwards.
Merge pull request #3000 from ey6es/master

Avoid crash on zero-length normals.