REF: Move methods in core/reshape/util.py to where they are used
2 unit tests were removed since `cartesian_product` now strictly operates on `list[np.ndarray]` (i.e. `MultiIndex.codes`) and the unit tests were testing `Index` inputs
Going to merge. Happy to follow up if needed