It seems increasingly to me that morale-based solutions to elephants are probably the best approach, giving them some kind of special morale rules. They make the most thematic sense as well.
Pikes should perhaps be able to get a jab in, but I think you're right that it makes no sense for them to stop an elephant/heffalump

in its tracks.