The Israeli military said it targeted a weapons storage facility from which a militant had operated, and that “numerous steps were taken to mitigate the risk of harming civilians”