bookmarks: fixes bug where a deleted bookmark may still be treated as current when track.current option is set
% no bookmarks
no bookmarks set
% set bookmark X
% list bookmarks
* X -1:000000000000
% update to bookmark X
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
% list bookmarks
* X -1:000000000000
% rename
% list bookmarks
* Z -1:000000000000
% new bookmark Y
% list bookmarks
* Y -1:000000000000
Z -1:000000000000
% commit
% list bookmarks
* Y 0:719295282060
Z -1:000000000000
% delete bookmarks
% list bookmarks
no bookmarks set
% update to tip
0 files updated, 0 files merged, 0 files removed, 0 files unresolved