Removes code branching on sequential/merged flags in StatefulTransform.

So that the unit tests exercise the same transform logic as what
is executed a TradingAlgorithm object.