Migrate the rebase-pr script used on CI out of tools and into the circleci directory. Additionally removes its support for running in the local repository as this is now better handled by `ng-dev pr rebase <pr-number>`. PR Close #39592