Marks & Spencer (M&S) has resumed some online clothes orders six weeks after a damaging cyberattack that the retailer has warned will cost it hundreds of millions of pounds.