Improved lithographic performance for EUV resists based on polymers having a photoacid generator (PAG) in the backbone