remove any empty import blocks