ENH: allow auto vectorization of integer loops

Same as gh-4561 for more integer operations.
fixed, unittests are a little lacking