Thermodynamic stability of the superconducting phase diagram of UPt3