Define and use `completion-table-merge'