A new prediction from the International Monetary Fund shows the global economy will be more resilient this year than many had feared.