Australia’s top climate legal service will pay $9 million to gas giant Santos after a court rejected its bid to block a pipeline near the Tiwi Islands.