Lawmakers cast ballots Friday on bill to curtail president's ability to order military strikes without congressional approval