Partial pressure contributions to the equation of state of alkaline-earth metals