India has long held up its elections as evidence of its democratic credentials. Now their legitimacy is under question.