Relicensing with AI-Assisted Rewrite