Fractional indices in supersymmetric theories