Allowing a local government to indemnify law enforcement officers for a judgment for punitive damages unless the act or omission giving rise to the judgment would constitute a felony under the laws of this State.