The execution of Nidal Hasan, convicted in the 2009 killings of 13 people at Fort Hood, will be livestreamed, the Defense Department said.