objtype: Add equality test for type types.