BP to spend $7B to acquire Devon's offshore properties