The divorce always seemed inevitable. Still, the team’s final week in Oakland had plenty of twists and turns.