Senegal beat Ecuador to seal a spot in the World Cup’s round of 16, but needed their captain to turn things around with 20 minutes left.