TST: further clean up of frame/test_analytics
Follow-up to #22733, where some things were left undone to ease reviewing.

Mainly:
* cleaning up the jumble of `_check_stat_op`, splitting it into two functions with separate purposes
* this removes redundant calls to the API-portion of the function in tests like `test_max` etc.
* renaming according to review in #22733 
* same for `_check_bool_op`
* parametrize `test_any_all` according to review in #22733 

