Judges at the International Criminal Court have ruled to restrict their investigation into Afghanistan to crimes committed by the Taliban, ending…