The prospect of talks came as ships remain unable to transit the critical waterway amid threats from Iran and a US blockade.