How to Avoid Rework in Construction: A Data-Driven Approach