President Trump wraps Middle East trip with major investments, Diplomatic pushes, and a legal battle at home