how did loki survive in thor dark world