Moderate Republicans warn of government shutdown, drop in credit rating and end to support for Ukraine as radical wing ousts speaker for the first time ever