Iran’s army chief warned on Saturday that the Islamic republic would shut the Strait of Hormuz if its interests were threatened.