I'm not saying it wouldn't take one or two hundred years to become fully independent for the necessities to survive on its own. I don't see that as an argument against it, the best time to plant a tree is 20 years ago after all. I don't think restoring civilization to Earth is a primary goal either. The primary goal is having a technological civilization survive the destruction or fall of the one on Earth. If a Martian colony is sufficiently robust and wealthy enough to send physical aid to Earth after a disaster then that's great but if it can only look after itself then its still achieved its purpose.
Global economic collapse due to an asteroid or nuclear war might not cause human extinction but it would mean a very large regression in our technological capacity. That could endure for hundreds if not thousands of years. Maybe we would never fully recover, people argue that point based on all of the easy to access resources having already been exploited though I have more faith in humanity's ingenuity. The role of a Mars colony in this scenario isn't to send iron ore to Earth, it's to maintain high technology and continue moving forward.
The risk of a pandemic becoming interplanetary is much lower than the risk of international spread. Travel between Earth and Mars is necessarily constrained by their orbits with a window opening only every 26 months. Most travel would likely be uncrewed cargo and when people do make the trip there would be strict quarantine measures taken (this is already done with current crewed launches to orbit and there is established history of immigration being subject to quarantine). Most importantly, the trip to Mars takes much longer than the incubation period of any disease likely to cause a pandemic so the disease will have run its course by the time the ship reaches Mars and they can decide what to do at that point (at the extreme they may resupply it and send it back but that's probably not necessary in most cases).
> wouldn't take one or two hundred years to become fully independent for the necessities to survive on its own
My concern is the incentives and economics that make it possible for them to exist, principally (relatively) cheap launch and transit costs, preclude it ever being economical to invest the resources required to ship say modern chip lithography equipment out to the new colonies rather than them continuing to buy them from Earth. Or the alternative, they get treated like pre-revolution US colonies and are intentionally kept dependent by restrictions on imports and tech exports in order to provide a market for the mother civ to sell into. And this time instead of being in a verdant land full of resources the colonies are on baren rocks dependent on the mother country for critical life support supplies so the capture and dependency are magnified and much stronger.