Dan Ashworth has left his position as sporting director of Manchester United just five months after joining from Newcastle United.