Bug 1064537: IonMonkey: Try folding ternary constructs, r=nbp