Biden signs bill extending a key US surveillance program after divisions nearly forced it to lapse