[repartition] Use signbit to avoid tautological compare compiler warning
Fix #19 (closed).
The other occurrences were already with fixed with 05dd0fa0, which also introduces the necessary using std::signbit;
@gruenich Candidate for backport 2.7.
Edited by Timo Koch