South Carolina's election results appear to suggest landmark racial progress in a state that still flies the Confederate flag near its Statehouse.