SAFE: Finding Sparse and Flat Minima to Improve Pruning