Trump struggles to defend record amid setbacks on immigration, trade, North Korea