Test of a model for trace element partition during closed-system solidification of a silicate liquid