The index of projective families of elliptic operators: the decomposable case