glsl: If an "if" has no "then" or "else" code left, remove it.