Carpetright has been bought in a rescue deal by rival Tapi, but will shut more than 200 stores and cut more than 1,000 jobs.