The quest of millions seeking salvation at the world's largest religious festival has also been a golden opportunity for Indian Prime Minister Narendra Modi to burnish Hindu nationalist credentials.