Mistrial ends man's trial in death of intruder