Israeli military intelligence chief resigns over October 7 attack