Heart failure patients show lower rates of stroke thanks to medical device