Northern Ireland women not allowed free NHS abortions, court rules