Statements from President Trump and Iran aimed to raise confidence in the safety of the waterway, but shipping experts said risks remained.