NBC: Armenia and Azerbaijan agree treaty terms to end almost 40 years of conflict