Justice (R) Tariq Pervez elected as KP caretaker CM