At first glance it looks standard to me and as stated above it is just unfortunate that the BB had a real hand. I honestly cannot say I would not have played it the same way considering the BBs past aggression.
However, I think there is a chance you can get away preflop. The 3bet looks very suspicious because of the sizing. His weak reraise screams for you to call/4bet and that he is trying to get you to commit more chips to the pot. I find it more likely that you will see a larger 3bet from the BB with more marginal hands attempting to get a fold.
Once you factor this in that you are near the bubble, in a hand with the chip leader and facing a suspicious 3bet, I think you can sometimes find a fold here. You are only 1 elimination from the final table, where the dynamic of the game would change and I give you more of an advantage with your shortstack and allow you to be more patient with your remaining 12 BB.