Government leaking of AG advice was a "stunt that backfired" - McDowell