RankFeat: Rank-1FeatureRemovalfor Out-of-distributionDetection