Just want to add, I agree you shouldn't apologize to X, but if you really want to say it I think it's OK to say you're sorry things ended like this. Or that things couldn't be different, etc. That isn't apologizing to him IMHO. You're sorry the R is over, but not accepting or giving blame. Just my 2 cents.