You're right that frequent commits greatly simplifies the particular problem of undetected errors in big refactorings. However, people being people, the sunk cost fallacy is still an issue in development.