WIP: Trying to identify triangles by arity

Midpoints that are part of triangles should have arities of 3 or
higher. So far most are being identified, but a few are being
skipped and I haven't yet figured out why. Still, it's a small
step towards progress.