The extension comes after Iran's military attacked commercial ships in the Strait of Hormuz Wednesday morning.