Texas church shooter should have been legally barred from owning guns