Miguel Herrera will remain in charge of Mexico at next summer's World Cup finals after steering them to Brazil.