US logjam ends as bankrupt Korean firm’s ship is unloaded