The first sentence of your post is simply not true. Demilitarization does help to reduce police violence [0]. Your points about union contracts and civilian oversight are valid and important to point out though.
[0] https://journals.sagepub.com/doi/full/10.1177/20531680177128...