Enhance get_compatible_scalar
Reduce the number of arithmetic types we look at, since Lua really only gives us one anyway.