Remove empty selector blocks and comments.