Jon Rahm will be eligible for the 2027 Ryder Cup after settling his dispute with the DP World Tour.