A cabinet bill permitting cellphone searches by border guards is so vague it is certain be fought in court, the Senate national security committee was told yesterday. Civil rights groups opposed the measure: “A personal digital device is analogous to crossing the border with almost every piece of mail a person has ever received or sent.”