General Motors will pay nearly $146 million in penalties to the federal government because 5.9 million of its older vehicles don’t comply with emissions and fuel economy standards.