Man in custody after robbing gas station and stabbing police dog