US apparel companies using small amounts of non-domestic components in "made in USA" clothing have been dealt a blow by a federal judge.