The move, which will mainly affect a single wastewater treatment plant, appeared intended to put pressure on Hamas.