A federal judge who said he will no longer hire clerks from Yale Law School garnered criticism from the legal community, one of whom said his comments could create ethics problems.