Donald Trump's proposal to send US troops into Gaza would reverse his key campaign promise of keeping Washington out of foreign wars.