Trump’s social media post a day after the agreement was announced was unexpected and almost certain to make finalizing the deal complicated.