Fixes max, min and minmax when comparing zeros with different signs

This fix assures that `max(-0.0,0.0) === max(0.0,-0.0)`, and similarly for the other functions. This fix follows the same ideas of #8968
The spacing here doesn't match the rest of the code base.