US Congress ends bitter tax battle with bill passage