McKenzie cleared of compromising MPs’ code of ethics