I think Jim’s advice about deleting a form with the View Organizer applies for procedures, too: Open the View Organizer, select the Procedures tab, and drag the corrupted procedure on the Trashcan icon at the lower right of the View Organizer. — The Trashcan icon is hard to see on the gray background.
A little more info - when I drag the corrupted procedure to the Trash, it’s actually the working procedure that disappears. It would seem that the displayed (non-working) procedure is not really there.
I think the empty line is the corrupt duplicate in the View Organizer.
It it does not work via drag’n drop on the trash can, I would try it vice versa: Create a new database and copy all the good stuff (data, forms and procedures) from the old to the new database. Then finally delete the problematic database.
It is pretty easy and fast to copy forms and procedures from one database to another using the View Organizer – just open two windows and drag between them.