BUG: Ensure signed division of stride for pairwise sum

Avoids wrong wrapping with i386 12 byte long doubles.
Closes gh-4136.
Merge pull request #4137 from juliantaylor/sumfix

BUG: Ensure signed division of stride for pairwise sum