Ireland's Niall O'Brien has recovered from a calf problem and will return for the ODIs against Pakistan.