Merges two
if
statements into one if the second statement is located inside the then-branch of the first one.