Wakefield Council looks set to be reimbursed for £3.4m it paid out in compensation to residents whose house values fell after a bypass was built in the city.