Whether you need to clean bricks before repairing them depends on the problem. If they're dirty or growing moss and lichen and you're doing a simple repair job like repointing the mortar, yes, it's probably a good idea to clean the bricks before attempting repair. However, if you're removing the bricks to replace them with new ones, there's little point in cleaning the old ones.