Versions from 2.26.0 of git have new option <pathspec>…
<pathspec>…
which allows us to make work simply:
git rm --cached <pathspec>...