Plan for 1,500 homes in Swindon are rejected