Endomorphisms of 2-generated metabelian groups that induce the identity modulo the derived subgroup