Fold together two repeated identical 'if's.