The United States and Iran are expected to finalize a deal Sunday that would extend their fragile ceasefire, paving the way for a longer truce, President Donald Trump and Pakistan’s prime minister said — though Tehran appeared to cast doubt on the prospect.