German court ruling clears the way to settle VW diesel cases