Homeowner involved in shootout with robbers arrested afterward