BS-2663, split code of method executeValidOutgoingTransitionsAndUpdateTokens