A former Darlington snooker hall is set to be demolished for new homes after approval from the council.