
BadBird |

6 levels of Witch has the same BAB as 5 levels; 8 levels of Witch has -1BAB compared to 5 levels. You definitely want 6 levels of Witch to get Greater Magic Weapon, 2 more levels at some point is nice for Divine Power but not necessary, and any more than that just gets you Patron Spells like Giant Form that don't work for a dex-based character anyways.
Going pure melee with a Witch/EK is quite possible and can do some interesting things. A strength-based Strength Patron Witch can smash things up in melee very nicely, though it has somewhat less AC (so you would definitely want either a shield or the Ironskin spell at the very least, if not both). Dex-based melee doesn't do quite as much damage, but it can still be pretty deadly.
I don't know what sources you're allowed to use, but the feat Artful Dodge from the Melee Tactics Toolbox makes it possible to use intelligence as a prerequisite for two-weapon fighting, which is quite powerful with Strength Witch buffs. If you go two-weapon with unarmed strike or light shield or cestus or something like that in the offhand it doesn't stop spellcasting.