Closed orders, status L, still trigger the "active orders" counter in the inventory location file. You need to purge these orders through the closed order report to remove from the inventory location so you can delete these items.
As for the imordbld, which stores the captured kit and pp components, macola did not make a purge utility for this file. You have to use an external tool to delete the necessary records yourself.