Importance of the ion core to the pressure dependence of superconductivity in Ba