Herzi Halevi decided to step down at the end of this year, pending conclusion of investigations into Israeli military's failure to respond effectively to Hamas attack, Channel 12 reports