fix splitted upgrade job

When an upgrade jobs is being splitted due to an explicit conflicts, it
should delete the old then later install the new instead of delete the
old and later upgrade/reinstall

Fixes: #1086