North Korea liable for $501M in damages: US judge