Bournemouth consigned the Gunners to their first defeat of the Premier League season.