If my Wii U external hard drive dies, can I download all my games again?

Yes, you can re-download as often as you'd like.

Note, however, that the eShop purchases are (currently) tied to the console, not your Nintendo Network ID. That means that if your Wii U itself dies, you need to get it repaired by Nintendo in order to preserve your purchases.