Republican prosecutor switches parties, to challenge Phill Kline in general election