Optimize DFA.from_nfa.
Optimize DFA.from_nfa.

There's no need to re-compute transitions we've already done, so let's skip those.

Also let's rely on the queue to determine whether we're done.
This seems to produce more correct results.

caleb531/automata