The original code attempted to vectorize the seed vector without first
separating the entries by Type, which complicated the code.
It would also try to slice the seed vector, but this seems to be redundant as
both vectorizeStores() and tryToVectorizeList() already do that internally.
With this patch the logic is quite simple:
- First separate the seeds based on their Type, then
- Sort the seeds of each Type using the Comparator
- And finally go over each Type and try to vectorize it.
Removal of this parameter causes regressions in the vectorization, better to restore it.