Waiting until water damage occurs is expensive. But it also doesn't make financial sense to replace pipes too early. We looked into the best time to do it.