By happenstance, GregR photographed what appears to be some kind of marking on the outside of the bayonet that might indeed be at the same point where a few seconds of huge-heat is applied to the exterior wall.
However your answer is incomplete. To earn a gold star, you must articulate whether they apply (1) a blob of solder to the end of the LED lead, or (2) a blob of solder to the inner wall of the bayonet, or (3) both 1 and 2... before final assembly. Or identify some other method. I'm nominating GregR to be the arbiter. To be clear, I do not know the answer!
I guess my point is if they indeed go thru such machinations to install a resistor-LED combo, it would be only a minor incremental effort to add the 1-cent diode. A 64% failure rate (16 out of 25) after 1-year is no way to run a railroad...