What is the cost Mechanic avoided by not having to perform?
 
The cost of having to rebuild the engine.
 
He didn't avoid any costs.