Stability and chiral charge of phase solitons