Keir Starmer has secured a temporary respite after fallout from the Jeffrey Epstein files threatened his leadership.