Birmingham's NEC Group is to be sold by the city council, which is facing legal claims over equal pay totalling more than £1bn.