A meromorphic extension of the 3D index