How are they going to disappear when they're embedded in the population which isn't exactly spread out. Which isn't gonna push them out themselves when they're being ethnically cleansed from their home in many places.
Israel helped nurture the Hamas of today to deal with the PLO/Fatah but regardless of whether they expected it to become what it did they won't bomb it out of existence.