It is not illegal to charge back for any work including labor, typically if work is sub-standard it will cost a company additional labor to have to repair the work. Also, in every industry you are required to guarantee your work (especially as a sub-contractor), when you get back charged you are simply honoring that warranty.
This is CABL.com posting #165770. Tiny Link: cabl.co/mRhS