Lance Cpl. Devin J. Hernandez, 25, of Maryland, died on Tuesday, officials said.