One of the Chinese companies that manufactured drywall used to rebuild homes around the Gulf Coast after Hurricane Katrina has agreed to help pay for the repair of 300 homes. The legal agreement, which establishes a pilot program in four states, results from claims that the drywall emitted substances that corroded and destroyed pipes, wiring, and alarm systems.