This attack is supposed to remove Hamas by killing them, or forcing them to surrender. There's a lot of legit criticism of what Israel is doing, but if you think it's designed to bolster Hamas, then you're really misunderstanding what's happening.
They can be stopped by arresting/killing the members. Why wouldn't it be possible? Similar groups have been stopped.