Man killed in shootout with officers and deputies