Justice Tariq Pervez named K-P caretaker CM