The Israeli military said it struck a ‘Hamas command and control centre’ and took steps to lessen harm to civilians.