Fix atomspace mem leaks

Fix three distinct atomspace mem leaks.