Measuring and Mitigating Local Instability in Deep Neural Networks