Carlsbad case charging ex-boyfriend with murder to go to trial