Maligned NT treaty commissioner resigns