They jump into lava for no apparent reason, it's frankly rubbish AI!
Try poor map design, donotenter/nodrop can work wonders for things like that. The majority of the maps simply were not optimized for bots.
Are these problems fixed in 0.7?
Yes, download it and the 0.7.1 patch and see for yourself.