rebase: make sure we don't loose the return code in --confirm option

Authored by khanchi97.

Description

rebase: make sure we don't loose the return code in --confirm option

return _dorebase() to make sure it returns 'return code'.

Differential Revision: https://phab.mercurial-scm.org/D3938