BUG: fix initialized half sum

pairwise summation added in 1.9 broke half sums if the first element is
initialized non-zero. E.g. d += x
Merge pull request #4321 from juliantaylor/half-sum-fix

BUG: fix initialized half sum