Idea for pause in fighting originated from Donald Trump’s team even as he escalated threats against Iran