[GiNaC-list] get_free_indices() returns wrong result