The unexpected plan to end the war in Ukraine has stirred harsh criticism from Republican lawmakers, exasperation from European allies and confusion inside the administration.