The agreement on an acceptable route for ships to pass through the strait would effectively ratify Tehran’s control over the crucial waterway.