I cant think of any way to disable disloyal general's revolts through modding, although you can (almost?) do that for peasant revolts with some work...