So BMW actually made some sunglasses with a polarizing filter (called VI/On) that works with the HUD. It seems they weren't marketed that well, and they're not cheap, but I can confirm these work.
https://www.saksfifthavenue.com/prod...ML3349TRIGTRAN