According to the army spokesman, the IDF conveyed its apologies through the appropriate channels to Ghana and the United Nations