Warming in the Arctic shrank the ice covering the polar ocean this year to its second-lowest extent in four decades.