But some feared he was diluting Hamas’s goals in the process.