hijackStateTransition
Called instead of onStateTransition before a transition from source to destination (the index-th overall) is committed; returns the State that should actually become the new current state (typically destination itself, unless the caller wants to hijack the transition).