India's renewed engagement with Afghanistan aims to counterbalance Pakistani influence and curb China's footprint.