As state teachers near retirement, South Dakota ponders how