1. use expendable police materiel to scout out the situation of a dispatch in advance of sending in any actual police bodies (e.g. police drones with fancy optics.)
2. send people in heavily armored rather than heavily armed. If you can make your SWAT team immune to bullets (such as by, say, encasing them in an Armoured Personnel Carrier), then they're not going to be feeling threatened and shooting anyone.
#1 is pretty universally useful. You can figure out who has guns and who doesn't.
#2 is more situational, because our best solution for heavy armor right now—APCs—have no good way of entering your tenth-floor apartment. This is why I'm constantly checking up on the progress of military robots and powered armor: the more invincible you can make something, the less it needs to actually kill anybody to do its job. The ideal here is a combination of robot-police and human-in-exosuit police that don't even need guns, because nothing they are sent to deal with is ever really that dangerous to them.