am --abort: keep unrelated commits since the last failure and warn