AMENDED AND RESTATED REGISTRATION RIGHTS AGREEMENT by and among BERRY PETROLEUM CORPORATION and THE HOLDERS PARTY HERETO Dated as of June 28, 2018