This function is intended for use as a pre-processing component in make_split_fun, and should not be called
directly by end users.
See also
Other make_custom_split:
add_combo_facet(),
make_split_fun(),
make_split_result(),
trim_levels_in_facets()