NBC: St. Louis school shooter had his rifle taken away from him days before attack, officials say