Don't underestimate the range of Big Deku Baba's attack. The safest way to dispose of the creature is to stun it with the Hookshot, then slice it with the Master Sword.

Link fighting a Big Deku Baba.