Add key_for_min_value

`let` is unnecessary