Two holes of a golf club will be given over to allow 75 new Halifax homes to be built despite objections to the plans.