Deputies: Clerk shoots, kills robber