How can AI reduce risk in legacy .NET modernization?