Stop generating superfluous concat/branch nodes