Man’s favor to homeless ex-wife leads to murder