Remove obsolete null checks

Along with their tests. Background:
https://github.com/sampsyo/beets/pull/720/files#r12027386
Rename remove_duplicates and do_remove_duplicates