removePartialRedundancy was using extendToIndices on each subrange
without passing in an Undefs vector containing main reg defs that are
undef in the subrange, causing the above assert.
Unfortunately I can only reproduce this in an ll test. Turning it into a
mir test makes the problem go away.