Deadliest shooting in US history: Suspect purchased guns legally, ATF says