Pioneer Natural Resources has agreed to pay roughly $4.5 billion for private equity-backed Parsley Energy in order to form a single Texas-based oil and gas production giant, the companies said Tuesday, in a deal guided by Gibson Dunn and Vinson & Elkins.