Investigation finds fault with vetting system for gun licenses, excessive focus on Islamism at expense of white supremacist threat - but says were no clear signs of imminent attack