The tours of 4,000 American soldiers who had been scheduled to leave Iraq in the coming weeks have been extended for up to four months, signaling that there would almost certainly be no significant troop pullout before the year’s end, military officials and analysts said Saturday.