Similar Items: A Step-indexed Semantics of Imperative Objects