Pro-Hamas protesters made an abrupt turn in their march to avoid riot control