Something is off with the XP calculation when they get the killing blow. It isn't often, but it does happen, and is obvious.
Those mercs should now properly give you good XP even when they get the killing blow.