India’s Narendra Modi declares victory despite election blow