A Neural Model of Number Comparison with Surprisingly Robust Generalization