Ab initio prediction of the high-pressure phase diagram of BaBiO3