Phase diagram of the three-band half-filled Cu-O two-leg ladder