Police shooting victim Castile was issued permit to carry gun in 2015