Man killed after pulling gun on deputies serving warrant