A Texas attorney has significantly trimmed a lawsuit over cellphone searches at the border, dismissing claims he brought under the First and Fourth Amendments but leaving intact allegations the practice represents a violation of the federal Administrative Procedure Act.