ENH still faster min/max using ufunc.reduceat

H/T @jaimefrio