I don't think there is much you can do to change the phalanx formation. The behaviour seems to be very fixed, and the model used likewise. Every time I have tried to mess with a phalanx, I have either got CTD's or no changes.

Better off using the BI 'shield wall' formation, and giving them longer spears!