regression: rebase button no longer appears in certain cases
### Summary
The rebase button use to be generally available on our gitlab.com project, at some point in the last few months that has changed.
### Steps to reproduce
I think it is:
- project is set to semi-linear history
- have a project set to only allowing merging if pipeline passes
- have a merge request that's behind master and has a failed pipeline
- possibly be an unapproved merge request (or on a project that requires approval)
### Example Project
https://gitlab.com/fintechlabs/fapi-conformance-suite/merge_requests/400
### What is the current *bug* behavior?
Rebase button is not there on the MR widget.
### What is the expected *correct* behavior?
Rebase button should be available as it was previously.
### Relevant logs and/or screenshots

### Output of checks
This bug happens on GitLab.com
issue