(b) expenditure on defending any proceeding, or investigation or regulatory action for misconduct of a director if such expenditure has to be repaid by the director to the company when he is convicted in the proceeding or has committed the misconduct.