In a speech and an early morning Twitter post, Mr. Trump faulted the opposition for not compromising to protect younger undocumented immigrants.