Merges sequential
if
statements that have identical conditions. Note that this may change the order of execution.