Karnataka polls: BJP on backfoot after SC shreds quota move