If Israel nuked Gaza, they would be harming themselves.
I dont think the suggestion was to nuke them, but more like dealing them such an overwhelming blow, they have to really think about surrender.