Mechanical and thermodynamic constraints on fluid distribution in partial melts