The bill would deny funding to entities that don’t enforce immigration laws and punish local governments if their law enforcement agencies fail to honor ICE requests to hand over immigrants in custody for possible deportation.