Phase separation in one-dimensional hard-core boson system with two- and three-body interactions