Rupert Murdoch’s UK tabloids offer a rare apology in a legal settlement with Prince Harry