NS(Mutable)IndexSet formatter moves from Python to C++