The FBI has identified the dead gunman who killed 12 people at a Washington navy yard and eliminated the possibility of a second suspect.