In disputes over protests, deportations and tariffs, the president has invoked statutes that may not provide him with the authority he claims.