Removes superfluous empty lines.