Widen the result of rangeRem to account for signed wrap-arounds.

Someone else should merge this. Fixes #81.