ligd: Do not compare RTypes structurally

This would lead to bugs. Remove the comparison altogether. Two objects
now equal each other implicitly if they are identical.