Epistatic interactions drive biased gene retention in the face of massive nuclear introgression