By bringing the bill to a vote, the opposition parties planned to exploit a fight within the governing coalition over the contentious, decades-old policy that has largely exempted ultra-Orthodox men who are studying religion in seminaries from compulsory military service.