Court: Indian candidates can’t use faith, caste to get votes