U.S. and Iraqi forces have ended a four-day operation , Spear , aimed at clearing insurgent bases and training camps in western Iraq .