On the ring of inertial endomorphisms of an abelian p-group