Discriminative Learning to Improve the Outlier Resistance of Neural Classifiers