The Seychelles has swapped 5% of its national debt for a cash injection to fight climate change and save its ocean.