Revert "Optimize findall(f, ::AbstractArray{Bool}) (#42202)" (#51039)
This reverts commit 4c4c94f4781da4f4109086368205db8a2f7ec7c4. (Except
keeps the tests and adds a new one)
fixes #46425
(cherry picked from commit defe187ed5b4f274778c964f979138334a2d1dfb)