Brighton and Hove councillors have backed spending almost £20 million to buy out up to 44 homeowners in eight tower blocks blighted by safety concerns.