sval: use typed version of parse_value_ranges() throughout