Free-flowing hosts edge Chile to reach last-eight