Classification of indecomposable involutive set-theoretic solutions to the Yang–Baxter equation