It beats me as to why HN hasn't implemented duplicate detection.
Here's a post about it: https://news.ycombinator.com/item?id=10223645
1) Only generate the ugly old-style URLs for the old posts.
2) Make the old-style URLs into redirects to the new ones, rather than duplicates. This way must be hell on the search engines.