Deutsche Bahn has ended its claim for airfreight cartel damages by reaching an agreement with Cathay Pacific.