This is why we have Exit. If you're almost at death's door, Exit out, go to the nearest town and heal, then try again. Everytime you go through a dungeon you'll become a little bit more powerful. This is how I approach every dungeon in FF2 and most games.