A series of recent statements by Prime Minister Narendra Modi and prominent Hindu nationalists suggest the country’s conservatives are trying to distance themselves from hardliners, after months of violent caste and religious disturbances that could hurt their chances in crucial state elections.