Motivated by this comment, this removes some needless explicit __eq__ and __ne__ implementations from some classes in sage.algebras that subclass (directly or indirectly) UniqueRepresentation.
This also fixes problems with these classes on Python w.r.t. #24551. There are likely other cases like this but I'm just looking one top-level sub-package at a time...
Component: algebra
Author: Erik Bray
Branch/Commit: bc9af5f
Reviewer: Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/25387