UK retail giant Tesco has confirmed plans to close its Middlewich distribution centre in Cheshire with the possibility of around 400 job losses.