The Higher-Dimensional Chern–Gauss–Bonnet Formula for Singular Conformally Flat Manifolds