I had identical sysmptons on an old E30 325i Sport. What had happend is the starter motor had got stuck in the flywheel and shorted out the igniton causing the wires to get hot and melt the connector block.
Result was a new starter motor and all was fine after. Not sure if this will help you but as the symptoms were the same i thought id share my experience with you.
Good luck!