Andy Murray has become the biggest casualty at the US Open after suffering a shock fourth round exit at the hands of Kevin Anderson, while Simona Halep progressed in the women's draw.