AG Edmondson loses primary in governor's race