On a model-theoretic approach to a special case of the Erdős-Hajnal conjecture