The shift will also restore the positions of senior military and intelligence officials who had been downgraded