Israel military chief quits amid Lebanon war probe