South Africa’s president has authorized a yearlong deployment by the army to fight crime in some of the country’s violence-stricken areas