Man who set off makeshift bomb outside Alabama attorney general’s office sentenced to nine years