Remove redundant empty lines