Yes, you understand my problem. Your previous post, however, made me realize that the solution is quite simple.
I just adjust the phase of each eigenvector column in V so its diagonal elements are real. This doesn't affect the diagonalization of H (since it's an unobservable phase), and...