Idealized moist Rayleigh-Benard convection with piecewise linear equation of state