Corrected score estimation in the proportional hazards model with misclassified discrete covariates