The command with the dead general now dices independantly - no problem there.
the remaining allocated dice however, retain their position - so the "2nd highest" dice remains allocated to the command it originally was allocated to - which, as William says, leaves the highest dice for the command that previously averaged.
For flank marching and delayed commands I always jsut put them into the regular allocation and dice independantly until they actually arrive.