Control devices for cigarette or cigar packaging machines responsive to incorrect grouping of articles or to incorrect filling of packages