U.S. and Japanese officials agreed to launch talks aimed at settling a dispute over American tariffs on imports of Japanese steel and aluminum.