Normalize LHS and RHS types to use only boxed ones and then let bytecode optmizer reduce redundant boxing