Embattled South Africa chief resigns along with four board members