President Ramaphosa says deployment necessary to tackle gang violence and illegal mining despite a growing economy