The Republican leaders overcame objections from within their own party, marking a victory in their quest to fulfill President Trump's campaign promises.