You obviously didn't get rid of all the republicans, because the every day government worker is still a republican, working for a republic. All the guys who still make everything happen, who run the warehouse, who run the bank, who deliver your mail, etc etc are still there. Terran's government may have failed to do anything but maintain a city state, but it hasn't collapsed.