Superconductivity and multiple pressure-induced phases in BaPt2As2