The issue isn't that you killed the person from up close, the issue is that you did so with police being nearby (arresting the person). You murdering someone infront of police means you risked your life. If you've done from afar (cops might get your DNA, but wouldn't be able to go after you immediately) or after the person got released, than it would've been ok. Although killing someone in police custody is not ideal.