Imaculata
Hero
Just to put it out there, the example above was an example and not something that happened at the table...yet. Trying to prevent a bad design for when it does come up. ~_^
In that case, I also advise having multiple objectives in a big boss battle.
For example, I had a big battle with a big bad evil wizard in my campaign, which took place in a huge treasure vault. The players had to not only deal with the wizard and his minions (who could also cast spells), but also with a giant golden serpent who guarded the treasure. The guardian would attack anyone that touched the treasure, including the bad guys.
Multiple objectives force your players to divide their attention.
In another battle, I had a huge construct that guarded a forge. Four singing statues strengthened the forge guardian, and made it nearly impossible to harm him. So the players had to divide their efforts. On top of that, the forge guardian could pour molten steel into the room, thus shrinking the safe area in which the players could fight him.