You use a punch fine enough to fit the hole the retaining pin resides in. Apply some pressure on the face of the ejector (to relieve side loading on the pin) while you punch the retaining pin out. This will free the ejector and the spring behind it.