Under the nationwide settlement, the companies will offer free repairs to all eligible vehicles at a cost that could top $500 million