San Bernardino County is weighing a controversial plan to use eminent domain to modify underwater mortgages, even as the county’s largest city seeks bankruptcy.