CLN: drop internals._invert_reordering in favour of lib.get_reverse_indexer