Ghost factors in Gauss-sum factorization with transmon qubits