A comprehensive study of code-removal patches in automated program repair