Israel's Peres says Hamas 'isolated itself'