Learning to Route Among Specialized Experts for Zero-Shot Generalization