Barbara Lynch, the pioneering Boston fine-dining chef who had been marred by turmoil in recent years, announced Wednesday that she plans to close all of her remaining restaurants: B&G Oysters in the South End, The Rudder in Gloucester and her Beacon Hill flagship restaurant No. 9 Park.