who became king of erebor after thorin dies