BP isn’t even waiting for its new CEO to start before taking a big charge over its push into renewable energy.