Fix FoldSingleEntryPHINodes to update memdep and AA when it deletes