Arsenal scored two late goals to beat Leicester 4-2 and take advantage of Premier League title rivals Manchester City drawing 1-1 at Newcastle.