Use a simpler degenerate triangle check that calculates area. (cherry picked from commit 3521239d96)
3521239d96