The secretary of defense is sending Marines and warships to the Middle East after Iran’s attempt to seize two oil tankers in international waters.