The United States men’s soccer team was looking to advance to its first quarterfinal appearance since the 2002 World Cup.