Republicans scrape back control of US House