I can't say that this is 100% the issue but its worth checking a small brown relay in the wheel arch that controls the some of the wiper functionality. this may be corroded and could be causing earthing issues somehow transferred to the lights circuit.
also check the fuse and white relay box in the foot well.