The Israeli military said Friday that it dismissed two officers and reprimanded three others for their roles in drone strikes in Gaza that killed seven aid workers on a food-delivery mission, saying they had mishandled critical information and violated the army's rules of engagement.