perf: use hasIndepIndices

This PR makes use of `hasIndepIndices`. That function was unused since
commit 54f6517ca36b237b40e02aac62ea36dbd4179758, but it seems it should
be used.
1 file changed