ConocoPhillips agreed to buy a 42% stake in BP's Kirkuk venture, supporting redevelopment of oil fields in northern Iraq.