Suspect in trooper's death shot and killed during encounter