The code to unlink dropped relations in FinishPreparedTransaction() was