rstp: Fix global transitions.

      Check global transitions when exiting from a state.