Montana, South Carolina ending participation in fed unemployment programs