The strikes put the Trump administration in a newly precarious position less than two months before the November midterms.