As long as there are outside forces, such as Iran, willing to embed & fund militants among the Gazan population, the -only- practical solution towards peace is assimilation: have Gazans broken up & spread out through Israel until law enforcement can be practically achieved.
Now assimilation sucks & will likely result in all sorts of social injustice, but I consider it a better alternative to the current ethnic cleansing.
EDIT: @casspipe suggested the option of subsidized resettlement and I agree that is another option that should be explored.