the invading ognods died in great numbers at the hands of the dwarven soldiers and in the end instead of trying to overcome and subdue the dwarves , the ognods simply went round them , leaving the dwarves locked in their underground halls .