I would put a separate ground on the dim headlight and see if that's the proble. Just make up a short wire, tie it into the present ground coming out of the plug and attach it to one of the headlight bucket retaining screws.

Also check the plug for any corrosion.