CB2 committee approves sale of Brooklyn Heights Library, with caveats