This intention merges two successive when expressions with equivalent branches into a single when.