Change npc training skills to prefer skills with lowest ID if skill values are the same (Fixes #1445)