Complementarity between neutrinoless double beta decay and collider searches for heavy neutrinos in composite-fermion models