I wasn't able to view your picture so I added one of my own. There are two copper tangs that come out of the micro-switch such that, when they touch each other, the light goes on. When the E-brake is released, there's a cam that rotates in such a way that it lifts one of the tangs and breaks the circuit, turning off the light.

If I recall correctly, the micro-switch is adjustable by first making sure the e-brake handle is in the fully released position (not just in the down position), then, loosen the one screw shown in the photo that holds the switch assembly and rotate the switch housing until the curved copper tang presses against the cam and the light goes out. Hold the switch in that position while tightening the screw and that should fix the problem.