With the Klingons involved as well in "Friday's Child", I think the Federation would be looking at a larger political landscape.
Frankly, it came down to getting a mining agreement with these people and having them be independent but friendly to the Federation, or having them fall into Klingon hands or at least be a Klingon minion. In Klingon hands no laws in that culture would be respected. Indeed, the entire culture may be stifled. What Kirk did to try to avoid the Klingons getting their way on the planet was minor compared to that. It may not have been his shining moment, but occasional moral and legal ambivalence was a hallmark of the Cold War.
I don't think that when Kirk saved Eleen, he was thinking "I need to ensure this baby is born so that there is a legitimate claimant to the throne and Maab's claim will be invalidated." I think he was thinking "I can't let them execute a pregnant woman because that's just wrong." He was imposing his personal and cultural morals onto a society with different morals -- and specifically he was forcing rescue on Eleen herself, who wanted no part of it. Of course personally I agree with his position, but the Prime Directive means respecting other cultures' right to their own laws and customs even when you find them abhorrent.
I wonder how many Cultures were contaminated from the pre-Federation Era of Star Fleet... ? ...
During all those years that Archer and associates began flying to the stars.
By the time of TOS, my guess is that most of the planets within reach of Earth with it's warp 5 & 6 starships, had probably been contacted and were aware of things they probably shouldn't have been at that point.
Not to mention all the other starfaring civilizations out there that don't honor the Prime Directive and wouldn't hesitate to contact a pre-warp world.