The U.S. House of Representatives has approved a resolution granting the president war powers regarding Iran.