The disavowal highlights tensions over civil-military boundaries during South Africa’s bid to reset ties with the United States.