WASHINGTON—Volkswagen’s U.S. unit has agreed to a $42 million settlement covering 1.35 million vehicles that were equipped with potentially dangerous Takata air bag inflators, according to documents filed in U.S. District Court in Miami. The settlement is the latest by major automakers and much of the funding goes to boosting recall completion rates. To date,…