Information theory and basis set quality. Automatic classification and systematic improvement of approximate wavefunctions IV. A study on BH(X1Σ+), CH(X2Πr) and NH(X3Σ−)