Hummmm..... BUT, the question is, how far does the bolt/carrier assembly have to move to cock the hammer vs ejecting the spent case.
Might I ask what ammo you were using. I'm wondering if it was "short stroking"....enough "umph" to re-cock, but not to go far enough to ejector.
(Doing a little mental time travel here.....)
First of all, w/ the whole set up assembled, see if the ejector is riding in the groove in the bolt/carrier assembly. I've seen them when it is too low or off to one side.... sometimes tweeking the ejector helps. If it's too low, bending slightly up works (caution, ejector is hardened, or should be- might break if you bend too much).
Okay, another thing for your rounds not ejecting. They might not be making it back the the ejector EVEN though the rounds have enough power to cycle. Let me explain. Take some spent 9mm cases. Drop one into the chamber, close on it. Pull it out to eject semi fast, slow enough to watch, but not slow enough it will fall down mag hole. Next, put spent case back in. Put empty mag in. Now pull back bolt/carrier slowly. Watch the round. (Make sure you are NOT resting the gun on the mag!) See if the
ejecting extracting round makes contact with the magazine. IF it does, odds are, the extracting round is not making to the ejector and the mag is nocking it out of there leaving it lay and causing problems. Repeat w/ mag resting on table (hey, all it takes is a few .001" sometimes). Watch the results. Now, Repeat last experiment but now load the mag w/ "dumby rounds" (or live if you wish if that's all you have)...2 -4 rounds only (rifle resting and not resting on mag). Now, pull back the bolt slowly and see if the extracting case hits any of the rounds sitting there.
If the magazine is hitting the extracting round, sometimes the offending lip can be bent to correct the issue. Same w/ the rounds riding up too high, the mag lips can be tweeked so that it clears.
Now, for the nosing up rounds.....
Again, check the mag lips to see if they are allowing it to nose up too much. Depending on when in the loaded mag they jam (ie first few in a fully loaded mag, middle or last few rounds). ...it might be different things. If it's the last, it might be the follower angle or magazine tention.
Well, that's about all my brain has thought up of for this session.