The AR-15 rifle used in the Louisville shooting was bought legally