1. It reduces the voltage in the backflow to the dynamo when switching the light on.
2. The glare from the red lense is greatly reduced
If the resistance is at fault, it is virtually impossible to rewind it to its original form, the alternatives are either to by pass it and use a full voltage lamp consistant to the working system of the vehicle, fitting a new exterior resistance or completely renew the whole unit.