Compact schemes in application to singular reaction-diffusion equations