There’s now an easier way of doing that. The Devices page has a Last Disconnected Device Time column, that you can sort by:
After you sort with the oldest at the top, you can see all the old computers that haven’t checked in at the top of the list, where you can select them all and delete them with the Remove Device button.