Manchester City edged to the top of the Premier League but their trip to Burnley became an unexpected slog.