Electrical resistivity of PdHx: I. Residual resistivity