Spectral Theory of a Neumann–Poincaré-Type Operator and Analysis of Cloaking Due to Anomalous Localized Resonance