South Carolina lawmakers clear the last hurdle to getting rid of the Confederate flag