Herzi Halevi took responsibility for his failure to prevent the attacks that sparked Israel's war in Gaza