Police: 3 dead after ex-cop vows 'war' on other police, their families