Trudeau's top adviser resigns