Computation of axon/dendrite more robust to corner cases.

In other words, unfinished improperly rooted neurons will be handled
generally as not having an axon.