Red-black trees 8 - improve comparison for 32-bit machines

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