refactor(algebra/*): Make monoid_hom.ext etc use ∀ x, f x = g x as an assumption (#1476)
monoid_hom.ext
∀ x, f x = g x