Moment–curvature relationship of flexure-dominated walls with partially confined end-zones