Defined equality and comparison for lua_var