Nidal Hasan has admitted to the 2009 attack, during which he fatally shot 13 unarmed soldiers and injured dozens of others.