Australian forces have helped as part of a major operation to seize nine tonnes of cocaine from several ships in the Pacific.