One-generator braces and indecomposable set-theoretic solutions to the Yang–Baxter equation