The Pentagon plans to stop training militants in Syria, in an acknowledgment that the $500-million program has failed to produce…