rebase--interactive: fix parent rewriting for dropped commits