Positive Eigenvalues of Generalized Words in Two Hermitian Positive Definite Matrices