Vote to advance War Powers Resolution seen as rare rebuke of the president as pressure grows to end US attack on Iran.