Stuck duplicate transaction in BitcoinQT
Bitcoin Core (bitcoind and Bitcoin-Qt's new name) v0.9 will deal much better with these conflicting transactions within one wallet.

It will keep showing both, but the non-confirming one will be marked "conflicted" with -1 confirmations, will not be rebroadcasted, and won't be considered to have spendable outputs.