South Dakota credit union's CEO of 10 years resigns