Embattled Barak warns of war with Palestinians