The campaign has highlighted discontent among BJP’s traditional upper-caste voters.