Learning to Route via Theory-Guided Residual Network