Unify Array/List FindIndex/FindLastIndex handling and argument checking. Fixes #14632