NBC: South Carolina's top accountant will resign after a $3.5 billion error