The sort order you want is Order Entered. This will put the newly entered transactions at the bottom of the register. This sort order is available in the register's gear menu.
Then select the bottom-most transaction via left-click. Scroll up to the first duplicate and Shift-left-click it. This will select all the transactions in between as well.
Then Ctrl-D will delete them all.