Top ex-Netanyahu adviser turns state’s witness