Pakistan’s army chief travelled to Tehran as part of ongoing efforts to broker a deal between the US and Iran