Red-black trees 2 - fix GC bug

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>