U.S. struggles to determine whether Libya attack was planned