Modified opCmp to the initial implementation

The initial implementation of opCmp allows any object can be used as a key of associative array, include Variant.

The bug of preventing a compacting GC from working is not a real problem, because toHash also has this bug.