The head of Israel's missile defence programmes has been dismissed for a "breach of security", the defence ministry says.