Ensure elists:insert/2 can be substituted with lists:merge/2
Use lists:keymerge/3 not a custom function

As the custom elists:insert/2 was used in only this one place,
the whole module which implements it is not needed anymore.