Mallet locomotive