. "to matters as to which such an officer or former officer shall be adjudged in such action, suit or proceeding to be liable for negligence or misconduct in the performance of duty and to such matters as shall be settled by agreement predicated on the existence of such liability." . . .