The White House and members of both parties had hoped to attach the legislation to a must-pass spending bill this month. But some Republicans have raised security concerns.