Barcelona became the latest European heavyweight to wrap up their league title early, winning La Liga with four games remaining.