feat(algebra/group/pi): Add pi.const_(monoid|add_monoid|ring|alg)_hom (#8518)
pi.const_(monoid|add_monoid|ring|alg)_hom