Once seemingly impregnable, Hamas shows signs of vulnerability