New Zealand and the US have welcomed the decision by the World Trade Organization (WTO) to reject Indonesia's appeal over its restrictions on imports of food and animal products.