Bed, Bath & Beyond is making a $300 million effort to skirt bankruptcy