Learning How to Vote With Principles: Axiomatic Insights Into the Collective Decisions of Neural Networks