Cpl. James O’Connor, 46, is the first officer killed in the line of duty in Philadelphia in five years.