China’s growing ties with island nations dotting the Indian Ocean show that India is fast losing influence in South Asia.