KARLSKRONA, Sweden — It’s been 18 years since Swedish industry delivered a new submarine. The shipyard in Malmö that delivered Gotland-class submarines is closed. But the cloud that hung over the Kockums shipbuilders who designed and built those subs has…