then the sun rose , and the host of the valar prevailed , and well-nigh all the dragons were destroyed ; and all the pits of morgoth were broken and unroofed , and the might of the valar descended into the deeps of the earth .