Ehm, the military killed hundreds of people during the Egyptian revolution.
Anyway, the Maquis isn't the same as a popular uprising. As I already said, the best comparison is with Palestine and the error of the Maquis is that they believe that THEY ALONE can fight against the Cardassians.
Only the Federation can monitor the DMZ so the goal of the Maquis should be to get the attention of their government and once they got it cease hostilities. Via continuing to fight the Cardassians they give them a justification for a military presence in the DMZ and make the task of the Federation much harder.
It is no more a simple matter of a one-sided treaty violation after which the Federation would have had the diplomatic high ground (and being able to tell the other side that they are the only ones who fucked up matters!)..
Now it is a mess and the Feds can no more pretend that only the Cardassians misbehave. Their citizens are aggressive as well and the Maquis dealt them a diplomatic bad hand.
Let's not forget that the Maquis also started to fight against the Federation pretty quickly. How is that supposed to achieve anything? A bunch of pissed-off settlers can hardly win against such major powers, they just fight to make a point and not to actually achieve peace. Fighting for a just cause creates this warm feeling in your heart just like demonstrating for this or that during a rainy day does. But feeling good about yourself doesn't matter, outcomes do.