Sounds like maybe these two "cops" were the ones that were following her, and she knew something about them that we'll never know, maybe that's why she shot them. Through her interaction with them she noticed something about them that convinced her that (it was them) that were following her. Maybe a PAID hit to the cops who were shot didn't go as planned.