Blackburn Rovers progressed to the fourth round of the FA Cup as a second-half strike from Andreas Weimann secured a 1-0 victory in their all-Championship tie at Middlesbrough.