Further generalized the extrema-finding functionality in Scm_util.Hashtbl.