House approves measure to restrict Trump’s military authority