Pakistan army denies 'deal' with ex-PM Nawaz Sharif