President Trump suffers his first big legislative defeat.