It doesn't affect anything later on.

Although I do not believe this is a bug.

If you don't heal them before completing a certain quest they just die.

If you do heal them, they survive for now but die before the end of act I, so it won't really do too much to the future of your game.