ENH/CLN: Add factorize to IndexOpsMixin