Fix out-of-order record unification for quicktypes.

This *should* fix some of the more subtle record unification bugs.