How to clear unused linked-data (libraries) quickly
Blender does not save unlinked datablocks. Thus linked datablock always has a user in the file it was linked from. To remove from your scene you must first click the make local button  and then it can be unlinked