Man charged in officer killing appears in court