Australia's PM says predecessor 'undermined democracy' with secret roles