Before the attack, the IDF took many steps to reduce the chance of harming civilians