Australian racer Jack Miller is leaving KTM after two years and is on his way back to the new-look Pramac Racing team for the 2025 campaign.