As India strengthens ties with Kabul, Pakistan and Afghanistan return to the table after Chinese mediation.