Wakefield Council looks set to spend almost £6m on urgent repair works to the city’s “deteriorating” historic County Hall building.