(Reuters) - A federal judge dismissed a lawsuit accusing Herbalife Ltd and Chief Executive Officer Michael Johnson of defrauding shareholders by misrepresenting that the weight-loss and nutritional products company's complied with laws designed to prevent pyramid schemes.