Fix edge condition in DAGCombiner to improve codegen of shift sequences.