Agents shot Carlos Ivan Mendoza Hernandez in Patterson, Calif., this week. His lawyer said Thursday that they fired at Mr. Hernandez before he tried to flee.