Ricardo Pepi scored coming from the bench to give the United States a win over El Salvador and a spot in the CONCACAF Nations League semifinals.