ENH: allow auto vectorization of integer loops

Same as gh-4561 for more integer operations.