Former mayor Thapelo Amad resigns