Two officials in President Hadi's government say a pact to end standoff in port city will be signed on Thursday.