The info in note 2006809 is quite relevant actually, as there could be also other inconsistencies in the document flow, not only duplicate goods movements, but also document statuses. As far as I know there is no transaction available to end users for correcting duplicate goods movements in a delivery.
A competent person with sufficient authorizations could potentially execute the same steps even without writing a separate program, just by executing the FM with the correct parameters. However, I would consider this as an extremely bad practice in a productive environment.