Democratic mayors of "sanctuary cities" have agreed to testify before a House committee after Attorney General Pam Bondi signed a directive cutting federal funding to the cities.