Combine fcmp + select to fminnum / fmaxnum if no nans and legal