Fix pickling of rangeiter.  rangeiter_setstate would not allow setting it
to the exhausted state.