Shadrack Sibiya, South Africa's deputy police chief, has resigned following his arrest last month.