More than 31,000 former paramilitaries had demobilized by the end of 2006 and the United Self Defense Forces of Colombia ( AUC ) as a formal organization had ceased to function .