The acting commissioner of the U.S. Customs and Border Protection (CBP) agency, John Sanders, is resigning and will leave his post on July 5, the agency said on Tuesday, a move that coincides with an outcry over the treatment of detained migrant children.