Fix preprocessing.scale for arrays with near zero ratio variance/max

Fix #3722, prolongating #3725.
why do you need to test this here too? the with_mean is already tested above.