Fix Enumerable#chunk when given a mutable initial_state