Fewer trade-restrictive measures were implemented this year, new figures show, with international trade flows having rebounded strongly following a sharp slowdown in 2016.