On CAP automorphic representations of a split group of type D4