Exact solution of the Brueckner-Bethe-Goldstone equation with three-body forces in nuclear matter