PM and Khursheed Shah reach consensus on caretaker PM