WyRL: working through some simple refactorings which could improve performance of automata operations.  This is after fixing #374, as I spotted some opportunities.