Refactoring programs to improve the performance of deep learning for vulnerability detection