Because they weren't given an alternative. The Uchiha coup, the coup specifically, would lead to a civil war, not the death of Danzo. There are drastic differences between the coup and killing Danzo.
1. The coup is a surprise attack, but, after the surprise, a blatant attack on the village by...