On the regularity of solutions to integral equations with nonsmooth kernels on a union of open intervals