Fix bug in KUHF gradients which affects soscf solver
Fix bug in KUHF gradients which affects soscf solver

gkc1000/pyscf,gkc1000/pyscf,sunqm/pyscf,gkc1000/pyscf,sunqm/pyscf,gkc1000/pyscf,sunqm/pyscf,sunqm/pyscf,gkc1000/pyscf