Indian premier’s party loses crucial state elections