Three people with knowledge of the talks told the paper that Beijing had been in direct contact with militants in…