Variationally consistent derivation of the stress partitioning law in saturated porous media