On an exponential attractor for a class of PDEs with degenerate diffusion and chemotaxis