Just pass a Transition to State::UpdateReferences.

Rather than constructing a MutableArrayReference to pass into the State, which copies it into its own MutableArrayReference, etc., just pass the Transition directly into the State.

This will become more important when we start making more mature distinctions among transitions created from the same events that disregard different inputs.
Another unit test for automata parsing.