Tánaiste’s victim-impact statement submitted to court as woman jailed for threatening online messages