Multiple phase transitions and the style of mantle convection