Pressure induced loss of ferromagnetism in UPt