Bid to build 300 homes on former North Wales asylum deferred