President Donald Trump signed a flurry of executive orders focused on the military, including one that directs Defense Secretary Pete Hegseth to revise the Pentagon’s policy on transgender troops, likely setting in motion a future ban on their military service.