Republican tempers flare as US House weighs bill to avert shutdown