Aaron Alexis tried to buy assault rifle but was rebuffed