A judge has denied Nidal Hasan's bid to halt his execution, clearing the way for the U.S. military's first execution in decades.