A federal judge threw out child trafficking claims against the country's largest chocolate producers, the latest setback in an attempt to hold the companies liable for the treatment of children on African plantations.