I'd be interested in knowing how the IDF mandate to destroy Hamas is defined concretely in terms of KIA of enemy combatants but perhaps that hasn't even been decided yet.
The problem is that Israel hasn't left Gaza, because despite your statement that the entire Hamas command staff is dead, it seems very likely that the minute Israel leaves, Hamas regains control of Gaza and starts building up strike capability again. So we're in a semi-holding pattern.
Now, there are good questions about why we're in this holding pattern. Many people (including me) think that it's because Netanyahu isn't trying to actually "win" the war, but prolong it, so this situation is good for him. Hence no steps to leave and set up a Hamas alternative, but also no move to more decisively finish the war either. A holding pattern suits Netanyahu just fine, at the expense first and foremost of the Gazan population, but also of the Israeli population (and also the Israeli economy, reputation, etc).