Some said the legislation would raise energy costs at a time when Americans are struggling with record gasoline prices. The bill was shelved until next year.