Two goals in the last 17 minutes saw Burnley come from behind to claim a 2-1 win at bitter rivals Blackburn Rovers, their first victory in the East Lancashire derby for 35 years.