[PATCH 02/15 6.6.y] minmax: simplify and clarify min_t()/max_t() implementation