Police shoot armed man dead in Tenterfield