Use the mut_iter method of TreeMap now that it exists.