Common BMW problem to have flaking off insulation on the headlight wires. From the posts I've seen with geography included, it seems more prevalent in the hotter climates.
The car also has some fancy electronics that detect short circuits in lighting circuits. After a certain number of short circuits, that light circuit is completely shut off until you fix it and reset an internal short circuit counter in the light module. I'm not certain if the DRL have this logic or not, but many of the bulbs do. You can surf this site to find how to figure it out and reset the counter. You'll need some BMW specific OBD tools.