So it turns out that the line <lodDistances>0 0 0</lodDistances>
isn’t being parsed correctly by RedM and messes up with LOD of the ped. I’m not too familiar with XML ymts so I don’t know if it’s CodeX’s fault or RedM but this is a bug.
The workaround seems to be to eliminate the LOD tag. Once that is done, the ped looks correct.