fn select_subject_for_chain(
candidates: Vec<DoctorCandidate>,
rpc_chain_id: u64,
explicit_root: Option<Address>,
) -> Result<DoctorSubject, String>Expand description
Step 3 helper: filter candidates to the RPC chain id and pick a single entry.