Do not check typeid-s when comparing structures.

It is OK to check just downcasting.  Compare as normal even if
the other object is of a more derived class.