I have a similar issue: If the A/C is on when I turn the headlights, on the A/C cuts out and the heat comes on. At one time, turning the rear defogger on would stop this, but now the rear defogger won't come on with the lights on to "bypass" this bizarre arrangement.