remove patches that have already been applied