Man stands trial in ex-girlfriend's death