House votes to repeal decades-old war powers amid Middle East debate