The Trump administration on Friday said it accidentally told some Ukrainian refugees they needed to leave the US immediately because their legal status was being revoked.