  see `double_coset_can_rep` for the description of `dummies` and `sym`
    indices is the initial list of dummy indices

    Examples
    ========

    >>> from sympy.combinatorics.tensor_can import _min_dummies
    >>> _min_dummies([list(range(2, 8))], [0], list(range(10)))
    [0, 1, 2, 2, 2, 2, 2, 2, 8, 9]
    N)