This generalizes the existing fold for ExtractOp(non-splat constant)
to work with vector results. The vector case is handled by extracting
the subrange of attribute array.
My main use it to clean up code generated by the Wide Integer Emulation
pass.