A man lost a dispute over an apartment to his ex-wife in court and then opened fire on the street, killing 4