Merges sequential
if
statements if they have the same conditions.
Note that this intention may change the order of code execution.