A British judge has dropped charges against seven soldiers accused of beating an Iraqi teenager to death in 2003 .