Pakistan and Afghanistan officials discuss strained ties over militancy, trade, refugees, aiming to strengthen bilateral relations