Iraq and BP have signed a preliminary deal to develop Kirkuk's oil fields on a profit-sharing basis, marking BP's return after five years.