math/scaf.c: Fix conditional subtractions in `scaf_reduce'.