In his scheme of things, that is doing nothing for peace and playing time while grabbing land, Hamas is Netanyahu best ally. A strong and radical Hamas gives him all the reasons he needs for not moving towards peace. Netanyahu finds fighting Abbas in the UN much more difficult, a politically correct Palestinian leader is his worse dream. Having said, wellcome home for all innocent war prisonners; Shalit being the first one.
from the article: Shalit deal throws Hamas a lifeline