pub fn minimum_path_selection(paths: HashSet<&Path>) -> HashSet<&Path>