The turnaround was reminiscent of wins against major soccer forces at the previous World Cup in Qatar.