South Africa cancels decision to withdraw from ICC