The president said in May the cost would be “peanuts compared to the value of doing it.”