Ex-Pakistani premier to remain party chief despite conviction