Chinese drywall manufacturer settles lawsuit, to repair homes