I understand the reasons why Minato chose to seal the Nine-Tailed Fox into Naruto, but perhaps the path he chose was not the best one in the long run. It was the most correct one, but not the one that would have benefited everyone down the line.
You tell me that Minato could not have prevented Madara from extracting the Nine-Tailed Fox; actually, yes he could have, but he would have needed to given up something of great importance to him. But would it have been for the greater good?
Madara failed in his objective to destroy Konoha, I agree, but that doesn't mean he came away completely emptyhanded. Minato died, so he essentially removed a major threat from the equation, and as you can see now, it is paying off. I'm sure that Madara would rather have Minato dead and leave Konoha standing rather than the opposite, because if you look at chapter 467, he has better chances in this upcoming war with someone like Minato out of the picture.
While the events sixteen years ago weren't necessarily a war, I think that Madara came out victorious from those night's events simply because Konoha lost so much more than he did. Madara was defeated by Minato in their one-on-one battle, he lost the Nine-Tailed Fox, but consider what Konoha lost. And it wasn't just a couple of people that died; it was many ninja from Konoha who gave their lives fighting for their village.
It's funny, you repeatedly tell me "Minato is not a god," yet in all your posts, you make him out to be one. I definitely agree that Madara had his fair share of failures that night, but apparently you don't think so for Minato. You think that only divine intervention would have been able to stop Madara from doing what he did. That is wrong. Minato could have fully stopped Madara for good, but that would require a fairly large sacrifice. I think that both Minato and Madara won and lost something that night. Madara's objective was a failure, but once again, he got something in almost equal compensation. Minato as well. To defend Konoha was his goal, and he succeeded. But still, it came at a price, as does everything in this world.