Cleanup indirect resources
Indirect resources (like nmm:MusicAlbum
, nmm:Artist
) stay around forever, even when unused. This means it also does not signal the resource is removed.
In Music at the moment on every changed signal we have to query to check if any of the albums has no songs or artists has no related albums/songs. This is suboptimal at best.