New homes will not be built within view of Glastonbury Tor after plans were refused by local councillors for a second time.