Time to end caste-driven politics in UP: Modi