Update minmax.h

Inside minmax_element we assign min_el to first the update first, we again update first and assign to max_el, so we are skipping the second element.