[GiNaC-devel] backported fix for reposition_dummy_indices to 1.3