> But how exactly would you propose to remove Hamas from power without a lot of civilian deaths?
Did you consider that massive civilian death could play into Hamas' hand? One of the insurgency techniques, where the action causes overreaction to amplify support ("action-reaction-revolution").
What happens in Palestine (a territory of the state of Israel plus the territories under the occupation) is called insurgency. To end the insurgency you can either withdraw, exterminate the insurgent population and/or convince the population to not support the insurgent.
Insurgency is always a fight for the legitimacy. The problem with this conflict is the fight for legitimacy happens not only between Israel and Palestinian Arabs, but also within these parties. Israel has official stance on supporting two state solution and un-official de-facto single state goal. Palestinians have Hamas, PLO, Islamic Jihad etc.