The president’s statement comes as a voter backlash against the facilities intensifies ahead of the midterm elections.