Firm Exit, Technological Progress and Trade