remove isFailure from NextAction, rename isFailure to isRetry in StateExecutionImpl, do not allow invalid NextActions