Parliamentary body picks Afridi as next chief justice