Add key value storage in MolDSException.
Add LapackInfo key value pair into Exception.
Don't take DIIS step if DIIS matrix is singular. #30595