Reporters who traveled with Mr. Gonzales to Baghdad say he made the trip , on the eve of the U.S. Independence Day holiday , to commend the Iraqi government 's commitment to democracy despite continuing deadly attacks by insurgents .