EnQuest agrees $400m finance package