Federal smog rules gutted Detroit's biggest engines, but the story didn't end there.