Leaders in Delhi have resisted Beijing’s efforts to pull India into networks that China leads or dominates, including the Belt and Road Initiative and China-Pakistan Economic Corridor.