MI5 has admitted it provided “incorrect information” to the English courts in a case concerning an agent accused of domestic abuse.