British prime minister's former aide cleared of perjury