Arsenal endured an exhausting match at Newcastle that saw their depth once again make the difference when it mattered.