The report says the military "failed in its mission to protect Israeli civilians" during Hamas's attack.