Right-click on the package that you are trying to delete -> 'Other Functions' -> 'Rebuild Object List'.
Once you rebuild, the ‘problematic’ sub-objects will reappear and you can delete them again. Release the respective TR and then delete the main package.