Kentucky agrees to new general elections plan