Man charged in deputy's death found competent for trial