Transport barrier inside the reversal surface in the chaotic regime of the reversed-field pinch