Equality sets for homomorphisms of free monoids