Plans for 169 new homes in Nelson have moved a step closer after winning the support of Caerphilly councillors.