Fix bug in Nfa.IsEquivalent that would sometimes return false positives