The iconic shipping company hasn't given investors much to celebrate recently. But headwinds are turning to tailwinds.