This is essentially a merge of https://reviews.llvm.org/D53011 and https://reviews.llvm.org/D50480
Both deal with Opt for size scenario;
D50480 added support for vectorizing loops of arbitrary trip-count without a reminder, which in turn makes everything in the loop conditional, including interleave-groups if any. It therefore invalidated all interleave-groups because we didn't have support for vectorizing predicated interleaved-groups at the time.
In the meantime, D53011 introduced this support, so we don't have to invalidate interleave-groups when masked-interleaved support is enabled.