feat(algebra/lie/abelian): expand API for lie_module.maximal_trivial_submodule (#7235)
lie_module.maximal_trivial_submodule