Once a European nation receiving large numbers of refugees and migrants, Sweden completes a decade-long overhaul.