ENRC legal chief resigns following boardroom turmoil