The effect of constraint on elastic-plastic fracture