Marks & Spencer has been given the green light to demolish its flagship Oxford Street store, ending a fierce three-year planning battle over the art deco building.