Mistakes Helped Authorities Surround L.A. Gunman